package com.mt.roll.wms.vo;

import com.mt.roll.core.vo.CommonVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @auther why
 * @date 2021/10/8 10:24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "存储箱信息视图对象", description = "用于查询存储箱信息")
public class StorageBoxVo extends CommonVo implements PageVo.ConvertVo {

    private static final long serialVersionUID = 1L;
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", example = "1")
    private Long id;

    /**
     * 存储箱号
     */
    @ApiModelProperty(value = "存储箱号", example = "20211131221105")
    private String code;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", example = "0")
    private Integer status;

    /**
     * 库位名
     */
    @ApiModelProperty(value = "库位名", example = "name")
    private String locationName;

    /**
     * 库位编码
     */
    @ApiModelProperty(value = "库位编码", example = "m120")
    private String locationCode;

    /**
     * 是否空箱
     */
    @ApiModelProperty(value = "是否空箱(0空箱，1有货)", example = "0")
    private Integer isEmpty;

    /**
     * 库位id
     */
    @ApiModelProperty(value = "库位id", example = "1")
    private Long currLocationId;

    /**
     * 存储箱id
     */
    @ApiModelProperty(value = "存储箱id", example = "1")
    private Long storageBoxId;

}
